نوشته شده توسط : dotnek

Each of the programming languages ​​has different features and programmers can use each of which in order to create better content but first you have to learn them as good as possible, a good content, as you know, can attract more users, and ultimately, if you have created a site or program through the features available in different languages, you can get a high ranking on the search results page , so that you can achieve such as soon as possible due to the fact that attracting users to the website is one of the factors of success .One of the most popular programming languages ​​is JavaScript, which, like all existing languages, has various features, in this article we are going to discuss training of comparative and Boolean operators.

What is JavaScript?

It is one of the programming languages ​​that can be used to implement various features and finally can help the user to interact better with the created content.

JavaScript Comparison:

As the name implies, if you want to compare variables as well as existing values, you can use this to determine if there are similarities or differences between variables and existing values, simply put, you can use it to determine whether the comparison you made is true or false, if you want to do any of the following comparisons, you must use the appropriate operators to do so, which are mentioned below.- In order to compare whether the two values ​​are equal or not, you must use ==, but it should be noted that in this case only the value is compared and the equality or inequality of the type is not considered.- In order to check whether the value and type you want to compare with each other are equal or not, === is used.- To see that the value that we think of it, is not equal to the existing values ​​of != Must be used.- Inequality of type is not considered, if you want to consider inequality of type and value, you must use !==.- To compare two values ​​in terms of being larger or smaller than the other, you should use x> y and x<y, respectively.- It can also be checked whether the variables are greater than or equal to each other or smaller than and equal to each other, for which the following should be used, respectively:>= & <=

Logical Operators:

These operators are used for logic between variables or values, you should pay attention to the point that If you want to compare two different cases at the same time, you need to use the AND operator (&&), for better understanding, you should pay attention to the following example. 

 

Read more on:https://www.dotnek.com/Blog/Web/training-of-comparative-and-boolean-operators

link:https://dotnek.mystrikingly.com/

Related link:DotNek Vývoj pre Android





:: برچسب‌ها: dotnek , seo , site ,
:: بازدید از این مطلب : 74
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
تاریخ انتشار : دو شنبه 18 مرداد 1400 | نظرات ()
مطالب مرتبط با این پست
لیست
می توانید دیدگاه خود را بنویسید


نام
آدرس ایمیل
وب سایت/بلاگ
:) :( ;) :D
;)) :X :? :P
:* =(( :O };-
:B /:) =DD :S
-) :-(( :-| :-))
نظر خصوصی

 کد را وارد نمایید:

آپلود عکس دلخواه: